home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
- ENVED
- -----
-
- The MS-DOS Environment String Editor
-
-
- Version 1.10
-
- Copyright 1986 by Scott Robert Ladd.
- All Rights Reserved.
-
-
-
-
-
-
-
-
-
-
- a SHAREWARE product of:
- -------------------------
- Scott Robert Ladd
- and
- Elegant
- Technologies
-
- 690 Pearl St. #8
- Denver, CO 80203-4904
- -------------------------
-
-
-
-
-
- Introduction
- ------------
-
- EnvEd is a simple text-editor designed to modify and create
- MS-DOS environment strings.
-
- For those users unfamiliar with the uses and purpose of
- environment strings, they are named text strings stored in
- memory by DOS, which can be accessed by DOS commands and other
- programs. Examples of environment strings are COMSPEC (used by
- DOS to determine where COMMAND.COM can be loaded from), PATH
- (the directory search path used by DOS to find executable
- programs) and PROMPT (the user-defined prompt format). Some
- environment strings are created by their own special commands
- (such as PATH and PROMPT), or by the DOS SET command. For
- details on the SET, PROMPT, and other environment string
- commands, please reference your MS/PC-DOS manual.
-
- A "master" copy of the current environment strings is stored
- in your PC's memory, and a copy of it is made for every program
- executed. The program can then access its own copies of these
- strings, and determine their values. For example, a program
- might use an environment string call "TEMP", which would be
- defined by the set command to be the drive/directory path where
- temporary files might be stored. Many software products use
- environment strings to store information such as terminal types;
- most compilers and program development tools use environment
- strings to tell them where to find libraries, source code, and
- other items. A list of the current environment strings can be
- displayed at the DOS prompt by entering the command SET without
- parameters.
-
- What ENVED does is allow the user to create/modify/delete
- the master environment strings interactively, with a simple
- editor. Under DOS, if a small change is made to an existing
- environment string, the entire string must be re-typed.
-
-
- System Requirements
- -------------------
-
- This version of ENVED requires an IBM-PC compatible with at
- least 96K of RAM (it uses approximately 20K of RAM by itself),
- and MS/PC-DOS version 2.0 or later. The program has worked with
- IBM monochrome, CGA, and EGA video adapters. A version is
- available for the Texas Instruments Professional Computer.
-
- For the record, ENVED was written in Logitech Modula-2/86
- version 2.0x.
-
-
-
-
-
- Invoking ENVED
- --------------
-
- Syntax for executing ENVED is very simple. At the DOS
- prompt, enter:
-
- ENVED string_name [/S]
-
- where string_name is the name of the environment string that you
- either wish to edit or create. If you have a color monitor card
- which does not suffer from "snow" (small, random specs of
- color), such as the Enhanced Graphics Adapter (EGA), use ENVED
- or the SET command to create an environment variable named SNOW,
- set to a value of "NO". This can be done with the following DOS
- SET command at the DOS prompt or in a batch file (such as
- AUTOEXEC.BAT):
- SET SNOW=NO
-
-
- The ENVED Display
- -----------------
-
- ENVED clears the screen, and displays a heading message. If
- the string_name (see above) was not entered, it will display a
- short "syntax is" message, and return you to the DOS prompt.
- Otherwise, it displays the name of the string being edited and a
- four-line editor. If the string_name already exists, the box
- will contain its current value; otherwise, the editor box will
- be blank. Now, you're ready to edit!
-
-
- What Does What When Editing
- ---------------------------
-
- Any standard, displayable text character entered from the
- keyboard will be inserted into the text in the editor box at the
- current cursor position. ENVED does not have a "type-over" mode.
- Also, the following keys on the PC keyboard have special
- functions (presuming Num Lock is OFF):
-
- Left Arrow -- Moves the cursor one character to the left
- Right Arrow -- Moves the cursor one character to the right
- Up Arrow -- Moves the cursor up one line in the editor box
- Down Arrow -- Moves the cursor down one line in the box
-
- END -- Moves the cursor to the end of the string
- HOME -- Moves the cursor to the beginning of the string
-
- <-- -- delets the character to the left of the cursor
- DEL -- deletes the character under the cursor
-
- ALT-C -- Clears the entire string (fills it with spaces)
- ALT-U -- UNDO. Restores the string to its original value
-
- Note that the window is wrapped; in effect, it is one long, 312-
- character string. This has some small advantage, since the DOS
- set command only allows the user to create a variable of at most
- about 100 characters.
-
-
-
-
- What Does What When Editing (continued)
- ---------------------------------------
-
- Once the string is displayed, use the above keystrokes to modify
- what is on the screen. When you see the result you want, press
- the ESC (Escape) key. You will then be asked whether you wish to
- save the current variable; pressing "Y" will change the variable
- in memory, while pressing "N" will abandon whatever changes you
- have made, and leave the environment just like it was before you
- invoked ENVED. ENVED is now done.
-
-
- Deleting a String with ENVED
- ----------------------------
-
- If you use ENVED to edit an existing environment string, and
- then delete all of its contents (such as with the ALT-C key), it
- will be DELETED from the environment by ENVED.
-
- CAUTION:
- Do not use the DOS SET command to delete long environment
- strings created by ENVED. For some strange reason, SET
- deletes only the first 256 characters, leaving a "tail" in
- memory from the string. To delete an environment string,
- edit it with ENVED, press ALT-C, and then ESC and "Y".
-
-
- Creating a String with ENVED
- ----------------------------
-
- If the string_name used when executing ENVED does not exist in
- the current environment, ENVED assumes you wish to create it.
- You will be presented with a blank editor box; should you not
- want to create the string, simply press ESC and "N".
-
-
-
- ENVED License
- -------------
-
- ENVED is the copyrighted product of Scott Robert Ladd and
- Elegant Technologies. You are granted a limited license to use
- ENVED, and copy it and distribute it, provided that the
- following conditions are met:
-
- 1) No fee may be charged for such copying and distribution.
- Non-profit organizations, such as User's Groups, are exempt
- from this clause.
-
- 2) ENVED may only be distributed with its documentation, in an
- unmodified condition.
-
- If you should decide to use ENVED on a regular basis, you are
- required to register your copy. This costs $5.00. Please send
- your payment, name, address, and phone number to:
-
- Scott Robert Ladd
- 690 Pearl St. #8
- Denver, Co 80203-4904
-
- Please make any checks payable to "Scott Robert Ladd" (the
- state of Colorado is being slow with my business paperwork).
- Registration gives you the right to use and install ENVED
- on up to three machines owned by the individual, company, or
- government agency who is named when the product is registered.
- Also, you have the right to upgrade your copy of ENVED at any
- time, either from Elegant Technologies, or by some other service
- such as a bulletin board. You will also be placed on our mailing
- list, to receive news of updates and new products (unless you
- request otherwise).
-
- I am currently completing a general DOS utilities package for
- release in January of 1987. This package will include ENVED, as
- well as other useful utilities, for a cost of $25.00. If you
- register a copy of ENVED, you will receive notification of the
- release of the "LADD Utilities", as well as a $5.00 credit
- towards their purchase.
- Also coming in the future from Scott Ladd and Elegant
- Technologies:
-
- SCRIBE -- A word processor for the professional
- writer (Late 1986)
- ABACUS -- A scientific / engineering calculator
- and spreadsheet (Mid-1987)
-
- REMEMBER:
- "Shareware" was created to keep the cost of software down.
- Only you, by registering your shareware products, can make
- it work.
-
- The author can be contacted at the address listed above, or on
- the following BBS system in Colorado:
-
- The Grizzly King BBS
- Bob McDuffee / Jeff Phillips, sysops
- Scott Robert Ladd, co-sysop programming conference
- (303) 666-0824
-